<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.goodfox.com/jsp/tags/power" prefix="p"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<script type="text/javascript">
</script>

<div class="pageContent" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;">
	<div class="panelBar">
		<ul class="toolBar">
			<li><span><spring:message code="search.lnkGoModify"/>${attrType.typeName}</span></li>
			<li class="line">line</li>
		</ul>
	</div>
    <form id="modifyRoleFrom" action="<c:url value="/attribute/attributeModify.shtml"/>" method="post" onsubmit="return validateCallback(this,navTabAjaxDone);">
		<input type="hidden" name="attribute_modify_typeName" id="attribute_modify_typeName" value="${attrType.typeName}">
		<input type="hidden" name="attribute_modify_typeValue" id="attribute_modify_typeValue" value="${attrType.typeValue}">
		<table class="tableForm" cellpadding="0" cellspacing="1" width="100%"> 
			<tbody>
				<tr>
					<td>显示序号</td>
					<td>属性名称</td>
				</tr>
				<c:forEach items="${attributeList}" var="atr" varStatus="index">
				<tr>
					<td>
						<input type="hidden" name="attribute_modify_atrIdList" id="attribute_modify_atrIdList" value="${atr.atrId}" />
						<input class="required" type="text" name="attribute_modify_atrSortList" id="attribute_modify_atrSortList" value="${atr.atrSort}" maxlength="2"> 
					</td>
					<td>
						<input class="required" type="text" name="attribute_modify_atrNameList" id="attribute_modify_atrNameList" value="${atr.atrName}" maxlength="25">
					</td>
				</tr>	
				</c:forEach>
			</tbody>
		</table>
		<div class="panelBar">
            <div class="buttonActive">
        		<c:if test="${p:isPower('/attribute/attributeModify.shtml',sessionScope.loginAccount)}">
            	<div class="buttonContent"><button type="submit"><spring:message code="modify.btnModify"/></button></div>
            	</c:if>
            </div>
		</div>
	</form>
</div>
<div class="tab-content">
</div>